import request from '@/utils/request'

// 获取经纬度坐标
export function getLandmark(landmark) {
  return request({
    url: '/gaode/map/getLandmark',
    method: 'get',
    params: {
      landmark: landmark // 将参数添加到请求中
    }
  })
}

// 获取经纬度坐标
export function getTreeList() {
  return request({
    url: '/dict/region/treeList',
    method: 'get',
  })
}


// 获取经纬度坐标
export function getAddData(data) {
  return request({
    url: '/user/address/add',
    method: 'post',
    data: data
  })
}

